﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPWinFormWork.Produce.Domain
{
    public class Work_Task
    {
        public int Id { get; set; }
        /// <summary>
        /// 任务编号
        /// </summary>
        [DisplayName("任务编号")]
        public string Task_Number { get; set; }
        /// <summary>
        /// 任务名称
        /// </summary>
        [DisplayName("任务名称")]
        public string Task { get; set; }
        /// <summary>
        /// 站点名称
        /// </summary>
        [DisplayName("站点名称")]
        public string Name { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        [DisplayName("工单编号")]
        public string Work_Number { get; set; }
        /// <summary>
        /// 工单名称
        /// </summary>
        [DisplayName("工单名称")]
        public string Work_Name { get; set; }
        /// <summary>
        /// 工艺流程
        /// </summary>
        [DisplayName("工艺流程")]
        public string Technological_Process { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        [DisplayName("工序名称")]
        public string Process_Name { get; set; }
        /// <summary>
        /// 工序编号
        /// </summary>
        [DisplayName("工序编号")]
        public string Process_Number { get; set; }
        /// <summary>
        /// 任务颜色
        /// </summary>
        [DisplayName("任务颜色")]
        public bool Task_Color { get; set; }
        /// <summary>
        /// 计划数量
        /// </summary>
        [DisplayName("计划数量")]
        public int Planned_Quantity { get; set; }
        /// <summary>
        /// 实际生产数量
        /// </summary>
        [DisplayName("实际生产数量")]
        public int Production_Quantity { get; set; }
        /// <summary>
        /// 计划开工时间
        /// </summary>
        [DisplayName("计划开工时间")]
        public DateTime Planned_Start { get; set; }
        /// <summary>
        /// 计划完工时间
        /// </summary>
        [DisplayName("计划完工时间")]
        public DateTime Planned_Completion { get; set; }
        /// <summary>
        /// 计划生产时长
        /// </summary>
        [DisplayName("计划生产时长")]
        public int Planned_Production { get; set; }
        /// <summary>
        /// 实际开工时间
        /// </summary>
        [DisplayName("实际开工时间")]
        public DateTime Actual_start { get; set; }
        /// <summary>
        /// 实际完工时间
        /// </summary>
        [DisplayName("实际完工时间")]
        public DateTime Actual_Completion { get; set; }
        /// <summary>
        /// 实际生产时长
        /// </summary>
        [DisplayName("实际生产时长")]
        public int Actual_Production { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        [DisplayName("状态")]
        public int State { get; set; }
        //public int Dispatch_Id { get; set; }
        //public int Reporting_Id { get; set; }
    }
}
